<template>
  <div>
    <now-ticket-info-auto-task v-if="nextTicketType.replace('dataset','')  === 'autotask'" :nextTicketInfoCopy="nextTicketInfoCopy"></now-ticket-info-auto-task>
    <now-ticket-info-syncro v-else-if="nextTicketType.replace('dataset','')  === 'syncro'" :nextTicketInfoCopy="nextTicketInfoCopy"></now-ticket-info-syncro>
    <now-ticket-info-kaseyabms v-else-if="nextTicketType.replace('dataset','')  === 'kaseyabms'" :nextTicketInfoCopy="nextTicketInfoCopy"></now-ticket-info-kaseyabms>
    <now-ticket-info-jira v-else-if="nextTicketType.replace('dataset','')  === 'jira'" :nextTicketInfoCopy="nextTicketInfoCopy"></now-ticket-info-jira>
    <now-ticket-info-halo v-else-if="nextTicketType.replace('dataset','')  === 'halo'" :nextTicketInfoCopy="nextTicketInfoCopy"></now-ticket-info-halo>
    <now-ticket-info v-else :nextTicketInfoCopy="nextTicketInfoCopy"></now-ticket-info>
  </div>
</template>

<script>
import nowTicketInfo from './NowTicketInfo.vue'
import nowTicketInfoAutoTask from './NowTicketInfoAutoTask'
import NowTicketInfoSyncro from './NowTicketInfoSyncro'
import NowTicketInfoKaseyabms from './NowTicketInfoKaseyabms'
import NowTicketInfoJira from './NowTicketInfoJira'
import NowTicketInfoHalo from './NowTicketInfoHalo'
export default {
  name: 'nowTicket',
  props: ['nextTicketType', 'nextTicketInfoCopy'],
  components: {
    nowTicketInfo,
    nowTicketInfoAutoTask,
    NowTicketInfoSyncro,
    NowTicketInfoKaseyabms,
    NowTicketInfoJira,
    NowTicketInfoHalo
  }
}
</script>

<style scoped>

</style>
